import React from 'react';
import { Router, Route, hashHistory } from 'react-router';
import Layout from './containers/layout';
import Home from './containers/home';
import About from './containers/about';
import Concat from './containers/concat';
import List from './containers/list';

const routes = (
  <Router history={hashHistory}>
    <Layout>
      <Route path="/" component={Home} />
      <Route path="/about" component={About} />
      <Route path="/concat" component={Concat} />
      <Route path="/list/:id" component={List} />
    </Layout>
  </Router>
);

export default routes;
